package com.xyht.sca_s.student_manage_system.modules.qr.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 二维码管理
 * </p>
 *
 * @author XYHT
 * @since 2023-03-22
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("sms_qr")
@ApiModel(value="SmsQr对象", description="二维码管理")
public class SmsQr implements Serializable {

    private static final long serialVersionUID = 1L;

    private String id;

    @ApiModelProperty(value = "二维码base64")
    private String qrPic;

    @ApiModelProperty(value = "0: 请假二维码  1：巡查二维码  2：访客二维码")
    private Integer qrType;

    @ApiModelProperty(value = "二维码位置信息")
    private String qrPosition;

    private Date createTime;

    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;

    @TableLogic
    private Integer isDeleted;


}
